﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace LSW_Shop.Models
{
    public class AddUserRequest
    {
        [StringLength(maximumLength: 11, MinimumLength = 11, ErrorMessage = "请输入正确的手机号码")]
        public string Mobile { get; set; }
        [StringLength(30, ErrorMessage = "请输入正确的密码")]
        public string Password { get; set; }
        /// <summary>
        /// 确认的
        /// </summary>
        [StringLength(30, ErrorMessage = "请输入正确的密码")]
        public string CirPassword { get; set; }
    }
}
